mean — Average value


\begin{rail}
Mean : 'mean' '(' Matrix ')' ;
\end{rail}
mean calculates the arithmetic mean of the argument. If the argument is a row or column vector, then the mean of all elements is returned, Otherwise mean returns a row matrix formed by taking the arithmetic mean of each column. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the mean.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying mean.r may make this function unavailable.

Subsections